﻿#if WINDOWS_PHONE
#region File and License Information
/*
<File>
	<License>
		Copyright © 2009 - 2017, Daniel Vaughan. All rights reserved.
		This file is part of Calcium (http://calciumsdk.net), 
		which is released under the MIT License.
		See file /Documentation/License.txt for details.
	</License>
	<CreationDate>2013-05-01 12:48:53Z</CreationDate>
</File>
*/
#endregion

using System.Threading.Tasks;

using Outcoder.LauncherModel;

using Microsoft.Phone.Tasks;

namespace Outcoder.LauncherModel.Launchers
{
	/* TODO: [DV] Comment. */
	public class MarketplaceDetailLauncher : LauncherBase, IMarketplaceDetailLauncher
	{
		public string ContentIdentifier { get; set; }

		public override async Task<bool> ShowAsync()
		{
			MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask
			{
				ContentIdentifier = this.ContentIdentifier
			};

			marketplaceDetailTask.Show();

			return true;
		}
	}
}
#endif